"""
支持可变参数
"""
import time


def decorator(func):
    def wrapper(*args):
        print(time.time())
        func(*args)

    return wrapper


@decorator
def f1(param):
    print("This is function1, param: " + param)


@decorator
def f2(param1, param2):
    print("This is function2,param1: " + param1 + " param2: " + param2)


f1('test')
f2('test', 'geg')
